package com.newasia.shopping.dal.entitys.returnValue;

import com.newasia.shopping.dal.entitys.ItemSku;

import java.util.ArrayList;
import java.util.List;

public class ItemDetail extends ItemSku {

    private String skuName;

    private String title;

    private String attribute;

    private String sellPoint;

    private String brandName;

    private String catName;

    private String itemDesc;

    public String getSkuName() {
        String skuName = this.title;
        List<String> names = this.getSpecNames();
        for (String name:names) {
            skuName +=" "+name;
        }
        return skuName;
    }

    public void setSkuName(String skuName) {
        this.skuName = skuName;
    }

    public String getAttribute() {
        return attribute;
    }

    public void setAttribute(String attribute) {
        this.attribute = attribute;
    }

    public String getSellPoint() {
        return sellPoint;
    }

    public void setSellPoint(String sellPoint) {
        this.sellPoint = sellPoint;
    }

    public String getBrandName() {
        return brandName;
    }

    public void setBrandName(String brandName) {
        this.brandName = brandName;
    }

    public String getCatName() {
        return catName;
    }

    public void setCatName(String catName) {
        this.catName = catName;
    }

    public String getItemDesc() {
        return itemDesc;
    }

    public void setItemDesc(String itemDesc) {
        this.itemDesc = itemDesc;
    }
}
